﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="manageWXCD.aspx.cs" Inherits="manageWXCD" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/MyCss.css" rel="stylesheet" type="text/css" />
    <link href="../css/admin.css" rel="stylesheet" type="text/css" />
    <style>
        table.dataintable
        {
            text-align: right;
            width: 100%;
        }
        table.dataintable th
        {
        }
        table.dataintable td
        {
            height: 20px;
        }
        
        .CaiDanAnNiu1
        {
            height: 20px;
            width: 90px;
        }
        .CaiDanAnNiu2
        {
            height: 20px;
            width: 70px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="m_box" style="width: 950px">
        <div class="m_head">
            微信菜单管理</div>
        <div>
        </div>
    </div>
    <div id="top"  class="alert alert-info" style="margin:0 0 ;">
	1.使用本模块，必须在微信公众平台<strong>申请</strong>自定义菜单使用的<strong>AppId和AppSecret</strong>，然后在【<a href="shouquanshezhi.aspx" >授权设置</a>】中设置。<br/>
	2.最多创建<span class="red bold">3 个一级菜单</span>，每个一级菜单下最多可以创建 <span class="red bold">5 个二级菜单</span>，菜单<span class="red bold">最多支持两层</span>。
	</div>
    <div style="text-align: center; height: 28px;">
        <div class="m_m_c" >
            <asp:Button ID="ButtonQiYongCaiDan" runat="server" 
                onclick="ButtonQiYongCaiDan_Click" Text="启用/发布菜单" Width="120px" />
        </div>
        <div class="m_m_c" >
            <asp:Button ID="ButtonTingYongCaiDan" runat="server" Text="停用菜单" 
                Width="120px" />
        </div>
        <asp:Label ID="lblResult" runat="server" Text="Label" Visible="False"></asp:Label>
    </div>
    <div style="float: left; width: 303px; height: 344px;">
        <div style="width: 280px;">
            <div style="text-align: center; height: 59px; line-height: 59px;">
                <span>微信菜单 </span>
            </div>
            <div>
                <table class="dataintable">
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD15" runat="server" Text="Button" Height="20px" Width="70px"
                                CssClass="CaiDanAnNiu2" OnClick="ButtonCD15_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD25" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD25_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD35" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD35_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD14" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD14_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD24" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCd24_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD34" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD34_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD13" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD13_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD23" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD23_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD33" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD33_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD12" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD12_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD22" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD22_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD32" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD32_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD11" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD11_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD21" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD21_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD31" runat="server" Text="Button" Width="70px" CssClass="CaiDanAnNiu2"
                                OnClick="ButtonCD31_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="ButtonCD10" runat="server" Style="margin-left: 0px" Text="Button"
                                Width="80px" CssClass="CaiDanAnNiu1" OnClick="ButtonCD10_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD20" runat="server" Text="Button" Width="80px" CssClass="CaiDanAnNiu1"
                                OnClick="ButtonCD20_Click" />
                        </td>
                        <td>
                            <asp:Button ID="ButtonCD30" runat="server" Text="Button" Width="80px" CssClass="CaiDanAnNiu1"
                                OnClick="ButtonCD30_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div style="float: left; width: 472px; height: 341px;">
        <div style="height: 42px">
            <div style="height: 10px">
            </div>
            <div style="float: left">
                菜单名称：
            </div>
            <div style="float: left;">
                <asp:TextBox ID="TextBox1" runat="server" Width="119px"></asp:TextBox>
            </div>
            <div style="float: left">
                <asp:Button ID="ButtonSave" runat="server" Text="保存菜单" OnClick="ButtonSave_Click" />
                <asp:Button ID="ButtonDel" runat="server" Text="删除菜单" 
                    onclick="ButtonDel_Click" />
            </div>
        </div>
        <div style="height: 44px">
            <div style="height: 10px">
            </div>
            <div style="float: left">
                菜单点击事件：
            </div>
        </div>
        <div style="height: 213px">
            <div>
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="169px" AutoPostBack="True"
                    OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                    <asp:ListItem>预设查询             
                    </asp:ListItem>
                    <asp:ListItem>返回业务资料</asp:ListItem>
                    <asp:ListItem>链接到其他网址</asp:ListItem>
                </asp:RadioButtonList>
            </div>
            <div style="height: 138px">
                <div>
                    <asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label>
                    <asp:DropDownList ID="DropDownList1" runat="server" Visible="False">
                    </asp:DropDownList>
                    <asp:Button ID="ButtonSelect" runat="server" Text="选择" Visible="False" />
                </div>
                <div>
                    <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>
                    <asp:TextBox ID="TextBox2" runat="server" Visible="False" Width="331px"></asp:TextBox>
                </div>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="HiddenFieldBianJi" runat="server" />
    <asp:HiddenField ID="HiddenFieldJiLuID" runat="server" />
    <asp:HiddenField ID="HiddenFieldShunXuMa" runat="server" />
    </form>
</body>
</html>
